﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopSanPham.ascx.cs" Inherits="iShopping.Member.UserControl.TopSanPham" %>
<style type="text/css">
    .style1
    {
        width: 105px;
        height: 151px;
    }
    .style2
    {
        width: 147px;
    }
</style>

<asp:DataList ID="DataList1" runat="server">
    <ItemTemplate>
        <table class="style1" 
            style="border-width:1px; border-color: #000000; border:solid; margin-bottom:2px;" >
            <tr>
                <td class="style2">
                    <asp:ImageButton ID="ImageButton1" runat="server" 
                Height="89px" ImageUrl='<%# Eval("HinhAnh") %>' Width="94%" />
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:HyperLink ID="HyperLink1" runat="server" 
                NavigateUrl='<%# "~/Member/ChiTietSanPham.aspx?pgn=1&id=" + Eval("MaSanPham") %>' 
                Text='<%# Eval("TenSanPham") %>'></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="lblGia" runat="server" 
                Text='<%# Eval("GiaKhoiDiem") %>'></asp:Label>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>